This way we conform more to https://systemd.io/DESKTOP_ENVIRONMENTS
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/895
Before=gnome-session-initialized.target
[Service]
+Slice=session.slice
Type=notify
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I
# with systemd >= 245. Also, the current solution is kind of painful
StartLimitBurst=3
[Service]
+Slice=session.slice
Type=notify
# NOTE: This can be replaced with ConditionEnvironment=XDG_SESSION_TYPE=%I
# with systemd >= 245. Also, the current solution is kind of painful